projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8530955
)
lisp/gnus/gnus-art.el (gnus-mm-display-part): Fix previous commit
author
Katsumi Yamaoka
<yamaoka@jpl.org>
Wed, 30 Apr 2014 04:21:08 +0000
(
04:21
+0000)
committer
Katsumi Yamaoka
<yamaoka@jpl.org>
Wed, 30 Apr 2014 04:21:08 +0000
(
04:21
+0000)
lisp/gnus/gnus-art.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/gnus-art.el
b/lisp/gnus/gnus-art.el
index ef50a0064ae7ab5cc3a9733f316664b8822758c1..e3605cd5fef4da8fb65e1dea0ccd1357321072e1 100644
(file)
--- a/
lisp/gnus/gnus-art.el
+++ b/
lisp/gnus/gnus-art.el
@@
-5679,7
+5679,11
@@
all parts."
(delete-region (previous-single-property-change end 'gnus-data) end))
(gnus-insert-mime-button
handle id (list (mm-handle-displayed-p handle)))
- (delete-char -1)
+ (let ((pt (point)))
+ (if (search-backward "\n\n" nil t)
+ (goto-char pt)
+ ;; We're in the article header.
+ (delete-char -1)))
(goto-char point))
retval))